package com.hzw.saas.api.product.dto;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 订单提交缓存
 *
 * @author zzl
 * @since 01/27/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class OrderCacheDto implements Serializable {

    private static final long serialVersionUID = -5811078940135269533L;

    /**
     * 支付信息
     * 根据支付信息中的订单类型判断是购买订单还是充值订单
     */
    private PaymentOnlineDto payment;

    /**
     * 购买订单信息
     */
    private ItemOrderDto itemOrder;

    /**
     * 充值订单信息
     */
    private BalanceOrderDto balanceOrder;


}
